|
Cytosim
PI
Cytoskeleton Simulator
|
Typedefs | |
| typedef double | real |
Variables | |
| const real | REAL_EPSILON = 4096 * std::numeric_limits<real>::epsilon() |
REAL_EPSILON is a multiple of the round-off error associated with real. | |
| typedef double real |
It is possible to select double or single precision here:
Cytosim is faster in single precision, but the iterative solver used in Meca::solve() (conjugate-gradient) may fail in adverse conditions.
It is safer, and STRONGLY ADVISED therefore, to use double precision, and to not define 'REAL_IS_FLOAT'